
package jnpf.zcasset.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.zcasset.entity.ZcAssetDisposeDetailsEntity;
import jnpf.zcasset.entity.ZcAssetDisposeEntity;
import jnpf.zcasset.entity.ZcAssetDisposeProcessEntity;
import jnpf.zcasset.entity.ZcAssetInfoEntity;
import jnpf.zcasset.model.zcassetdispose.ZcAssetDisposeDetailsModel;
import jnpf.zcasset.model.zcassetdispose.ZcAssetDisposeForm;
import jnpf.zcasset.model.zcassetdispose.ZcAssetDisposePagination;
import jnpf.zcasset.model.zcassetdisposeprocess.ZcAssetDisposeProcessCompleteForm;
import jnpf.zcasset.model.zcassetdisposeprocess.ZcAssetDisposeProcessForm;

import java.util.List;

/**
 * 资产处置
 * 版本： V3.2.0
 * 版权： 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 */
public interface ZcAssetDisposeService extends IService<ZcAssetDisposeEntity> {
    List<ZcAssetDisposeEntity> getList(ZcAssetDisposePagination zcAssetDisposePagination);

    List<ZcAssetDisposeEntity> getTypeList(ZcAssetDisposePagination zcAssetDisposePagination, String dataType);

    ZcAssetDisposeEntity getInfo(String id);

    void delete(ZcAssetDisposeEntity entity);

    void create(ZcAssetDisposeEntity entity);

    boolean update(String id, ZcAssetDisposeEntity entity);

    //  子表方法
    List<ZcAssetDisposeDetailsEntity> getZcAssetDisposeDetailsList(String id, ZcAssetDisposePagination zcAssetDisposePagination);

    List<ZcAssetDisposeDetailsEntity> getZcAssetDisposeDetailsList(String id);

    //列表子表数据方法

    //验证表单
    boolean checkForm(ZcAssetDisposeForm form, int i);

    List<ZcAssetDisposeDetailsModel> getZcAssetDisposeDetailsModelList(String assetDisposeId);

    List<ZcAssetInfoEntity> queryAssetListById(String assetDisposeId);

    List<ZcAssetDisposeProcessEntity> queryDisposeProcessList(String assetDisposeId);

    boolean addDisposeProcess(ZcAssetDisposeProcessForm form);

    boolean addDisposeProcessComplete(ZcAssetDisposeProcessCompleteForm form);
}
